package com.ocom.aiot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ocom.aiot.vo.consumedevice.AddDeviceVerInfoVo;
import com.ocom.aiot.vo.consumedevice.GetDeviceVerInfoVo;
import com.ocom.common.entity.aiot.EntityXfAppVerInfo;

import java.util.List;

public interface AppVerInfoService extends IService<EntityXfAppVerInfo> {

    public String selectAppVerUrl(String appVer);

    public EntityXfAppVerInfo selectAppVerInfo(String appVer);


    // 2.4.1.保存设备升级版本信息（addDeviceVerInfo）
    public void AddDeviceVerInfo(AddDeviceVerInfoVo addDeviceVerInfoVo);


    //2.4.3.删除设备升级版本（deleteDeviceVerInfo）
    public void DeleteDeviceVerInfo(Integer id);

    // 2.4.2.获取设备升级版本列表（getDeviceVerInfo）
    public List<EntityXfAppVerInfo> GetDeviceVerInfo(GetDeviceVerInfoVo getDeviceVerInfoVo);
}
